package com.jdym.back.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.jdym.back.entity.Integral;
import com.jdym.back.mapper.IntegralMapper;
import com.jdym.back.service.IntegralService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IntegralServiceImpl extends ServiceImpl<IntegralMapper, Integral> implements IntegralService {
    @Autowired
    IntegralMapper integralMapper;
    @Override
    public List<Integral> getIntergral() {
        return integralMapper.getIntergral();
    }

    @Override
    public void remove(int id) {
        integralMapper.remove(id);
    }
}
